using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN SinhVienNghiHocEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: SinhVienNghiHocEntity</para>
	/// <para>Description: ClassSinhVienNghiHocEntity store data of table SinhVienNghiHoc</para>
	///</summary>

	[DataContract]
	public partial class SinhVienNghiHocEntity{


		private bool _InternalChangedIsNullSinhVienNghiHoc_ID=true;
		private bool _IsNullSinhVienNghiHoc_ID=true;
		private bool _InternalChangedIsNullDiemDanhSinhVien_ID=true;
		private bool _IsNullDiemDanhSinhVien_ID=true;
		private bool _InternalChangedIsNullSinhVien_ID=true;
		private bool _IsNullSinhVien_ID=true;
		private bool _InternalChangedIsNullLoaiNghi=true;
		private bool _IsNullLoaiNghi=true;
		private int _SinhVienNghiHoc_ID;
		private int _DiemDanhSinhVien_ID;
		private int _SinhVien_ID;
		private Byte _LoaiNghi;
		[DataMember]
		public bool IsNullSinhVienNghiHoc_ID{
			get{return _IsNullSinhVienNghiHoc_ID;}
			set{if(!_InternalChangedIsNullSinhVienNghiHoc_ID)_IsNullSinhVienNghiHoc_ID=value;}
		}
		[DataMember]
		public bool IsNullDiemDanhSinhVien_ID{
			get{return _IsNullDiemDanhSinhVien_ID;}
			set{if(!_InternalChangedIsNullDiemDanhSinhVien_ID)_IsNullDiemDanhSinhVien_ID=value;}
		}
		[DataMember]
		public bool IsNullSinhVien_ID{
			get{return _IsNullSinhVien_ID;}
			set{if(!_InternalChangedIsNullSinhVien_ID)_IsNullSinhVien_ID=value;}
		}
		[DataMember]
		public bool IsNullLoaiNghi{
			get{return _IsNullLoaiNghi;}
			set{if(!_InternalChangedIsNullLoaiNghi)_IsNullLoaiNghi=value;}
		}
		[DataMember]
		public int SinhVienNghiHoc_ID{
			get{return _SinhVienNghiHoc_ID;}
			set{
				_SinhVienNghiHoc_ID=value;
				if(_SinhVienNghiHoc_ID!=null){
					_IsNullSinhVienNghiHoc_ID=false;
					_InternalChangedIsNullSinhVienNghiHoc_ID=true;
				}
			}
		}
		[DataMember]
		public int DiemDanhSinhVien_ID{
			get{return _DiemDanhSinhVien_ID;}
			set{
				_DiemDanhSinhVien_ID=value;
				if(_DiemDanhSinhVien_ID!=null){
					_IsNullDiemDanhSinhVien_ID=false;
					_InternalChangedIsNullDiemDanhSinhVien_ID=true;
				}
			}
		}
		[DataMember]
		public int SinhVien_ID{
			get{return _SinhVien_ID;}
			set{
				_SinhVien_ID=value;
				if(_SinhVien_ID!=null){
					_IsNullSinhVien_ID=false;
					_InternalChangedIsNullSinhVien_ID=true;
				}
			}
		}
		[DataMember]
		public Byte LoaiNghi{
			get{return _LoaiNghi;}
			set{
				_LoaiNghi=value;
				if(_LoaiNghi!=null){
					_IsNullLoaiNghi=false;
					_InternalChangedIsNullLoaiNghi=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END SinhVienNghiHocEntityBase*****************************************/
	/*****************************************************************************************************/
}

